export default function isFunction(virtualDOM) {
  if (virtualDOM && typeof virtualDOM.type === "function") {
    return true
  }
  return false
}